package com.example.zhihuijiaju;

import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.TranslateAnimation;
import android.widget.ScrollView;

public class DiscolourScrollView extends ScrollView {
    public DiscolourScrollView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    public DiscolourScrollView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public DiscolourScrollView(Context context) {
        super(context);
    }

    @Override
    public void fling(int velocityY) {
        super.fling(velocityY / 4);
    }
}